package utility

import (
	"fmt"

	"github.com/godruoyi/go-snowflake"
)

func GenId() *string {
	// 设置机器 ID
	snowflake.SetMachineID(1)
	id := snowflake.ID()
	idStr := fmt.Sprint(id)
	return &idStr
}
